package com.tjise.vod;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @program: tjise_shixun
 * @description: 启动类
 * @author: 郑朝文
 * @create: 2021-06-25 18:09
 **/
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
// 扫描包
@EnableDiscoveryClient // 注册进入微服务中
@ComponentScan(basePackages = {"com.tjise"})
public class VodApplication {
    public static void main(String[] args) {
        SpringApplication.run(VodApplication.class, args);
    }
}


